package com.example.queue09.queue;

import lombok.Getter;
import lombok.Setter;

/**
 * 链表结点
 * @auther lijiewei
 * @date 2021/8/23 14:45
 */
@Setter
@Getter
public class Node {

    private String data;
    private Node next;

    public Node() {
    }

    public Node(String data, Node next) {
        this.data = data;
        this.next = next;
    }
}
